<extend name="Public/base"/>
<block name="body">
    <div class="main-title">
        <h2>添加商品详情(价格)</h2>
    </div>
    <form action="{:U()}" method="post" class="form-horizontal">
       <foreach name="vdetails" item="v">
        <div class="form-item">
            <label class="item-label">{$v}<span class="check-tips"></span></label>
            <input type="hidden" class="text input-large ss" name="ctime[]" value="{$time}">
            <input type="hidden" class="text input-large ss" name="name[]" value="{$v}">
            <input type="hidden" class="text input-large ss" name="gid[]" value="{$gid}">
            <div class="controls">
                价格<input type="text" class="text input-large ss" name="price[]" value="">
            </div>
            <div class="controls">
                库存<input type="text" class="text input-large ss" name="count[]" value="">
            </div>
        </div>
        <br>
        </foreach>
        <foreach name="kdetails" item="v">
                <input type="hidden" class="text input-large ss" name="vid[]" value="{$v}">
        </foreach>
        <div class="form-item" style="float:left">
            <button class="btn submit-btn" id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('Shop/catalogue')}');
    </script>
</block>